/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "船运收货",TableName = "View_船运收货")]
    public partial class View_船运收货:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Display(Name ="发货单头guid")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid 发货单头guid { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="工厂编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 工厂编号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="工厂名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 工厂名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="发货单号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 发货单号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="发货单日期")]
       [Column(TypeName="date")]
       [Editable(true)]
       public DateTime? 发货单日期 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="收货地址")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string 收货地址 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="部门编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 部门编号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="部门名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 部门名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="客户编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 客户编号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="客户名称")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string 客户名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="制单人编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 制单人编号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="制单人名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 制单人名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="联系人名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 联系人名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="联系电话")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 联系电话 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="表头备注")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string 表头备注 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="发货单行guid")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid 发货单行guid { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="NC发货单id")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string NC发货单id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="NC发货单行id")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string NC发货单行id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="卷号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 卷号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="NC存货编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string NC存货编号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="仓库编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 仓库编号 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="仓库名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 仓库名称 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FinishSize")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string FinishSize { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="重量")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 重量 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="行备注")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string 行备注 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="红蓝标志")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? 红蓝标志 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="行状态")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 行状态 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? CreateID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Creator")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ModifyID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Modifier")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ApproverID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ApproverID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Approver")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Approver { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ApproverDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ApproverDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Chepai")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Chepai { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="HandleMan")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string HandleMan { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="HandleReason")]
       [MaxLength(2000)]
       [Column(TypeName="nvarchar(2000)")]
       [Editable(true)]
       public string HandleReason { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="HandleTime")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? HandleTime { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="收货状态")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 收货状态 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="收货时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? 收货时间 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="收货人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 收货人 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="VolumeCodeNew")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string VolumeCodeNew { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="规格")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 规格 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="VolumeInventoryCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string VolumeInventoryCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="InventoryName")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string InventoryName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Material")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Material { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FaceStatus")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string FaceStatus { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FaceDone")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string FaceDone { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FinishWeight")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? FinishWeight { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Meter")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Meter { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FinishRank")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string FinishRank { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ProductDate")]
       [Column(TypeName="date")]
       [Editable(true)]
       public DateTime? ProductDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="StorageLocation")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string StorageLocation { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsInStorage")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string IsInStorage { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Customer")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string Customer { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Address")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Address { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="VolumeWarehouseCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string VolumeWarehouseCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ZinCeng")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ZinCeng { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PackageType")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string PackageType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Color")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Color { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="船号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string 船号 { get; set; }

       
    }
}